{extend name="../template/parent.html" /}
{block name="personage"}
<script>
    jQuery(".topNav").slide({
        type: "menu", //效果类型
        titCell: "dd", // 鼠标触发对象
        targetCell: "ul", // 效果对象，必须被titCell包含
        delayTime: 0, // 效果时间
        defaultPlay: false,  //默认不执行
        returnDefault: true // 返回默认
    });
</script>

<script language="javascript" type="text/javascript">
    NTKF_PARAM = {
        siteid: "kf_9707",		//企业ID，必填，取值参见文档开始表
        settingid: "kf_9707_1414986472014",		//缺省客服配置ID，必填，取值参见文档开始表
        uid: "xieya2010@163.com",		//用户ID,未登录可以为空
        uname: "阿布",		//用户名，未登录可以为空
        isvip: "0",          //是否为vip用户
        userlevel: "普通会员",	//网站自定义会员级别
        orderid: "180113001399",		//订单ID,
        orderprice: "399.00"		//订单总价,
    }
    $(function () {
        var status = 0;
        if (status == 2) {
            window.location.href = "http://www.xtep.com.cn/success.php?sn=180113001399";
        }
    })
</script>
<script type="text/javascript" charset="utf-8" src="http://www.xtep.com.cn/pay/&amp;order_sn=180113001399"></script>
<script type="text/javascript" id="">var _smq = _smq || [];
_smq.push(['_setAccount', '2af02dc', new Date()]);
_smq.push(['pageview']);
(function () {
    var sm = document.createElement('script');
    sm.type = 'text/javascript';
    sm.async = true;
    sm.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'site.cdnmaster.cn/sitemaster/collect.js';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(sm, s);
})(); </script>
<!--wrapper start-->


<div class="cart-area-header">
    <div class="x-wrap">
        <script>
            //$("#com-header").attr("style","background:transparent url('http://xtep.oss-cn-hangzhou.aliyuncs.com/guanwang/2016/02/gwnew2016-banner.jpg') no-repeat scroll center center;");
        </script>
        <!--<a href="/" class="logo"><img src="http://xtep.oss-cn-hangzhou.aliyuncs.com/guanwang/2017/2/9/logo.png"></a>-->

        <a href="http://www.xtep.com.cn/"><img src="/static/index/images/LOGO.png"></a>
        <p><i class="one">1</i><i class="two">2</i><i class="three">3</i> <span class="one">选择商品</span><span
                class="two">确认订单信息</span><span class="three">成功提交订单</span></p>
    </div>
</div>
<div class="x-wrap">
    <div class="order-success">
        <h2><i></i>订单提交成功，请您尽快付款，我们将尽快为您送达！</h2>
        <div class="odr-ctr">
            <p class="odr-title">请在24小时内完成支付，否则订单会被自动取消。</p>
            <div class="ord-info">
                <h3>订单编号：
                    {$yi} </h3>
                <h3>应付金额：<span class="c-red">{$totalprice}</span></h3>
            </div>
            <p class="odr-title">已选择付款方式：</p>
            <div class="pay"><a href="javascript:;" class="current"><img src="/static/index/images/pay_wechat.png" alt=""><i
                    class="sed-icon"></i></a>
                <!-- 					<a href="javascript:;" class="odr-modify">修改</a> -->
            </div>
            <p class="odr-note">特步官方商城不会以订单异常、系统升级为由，要求您进行退款操作，请不要相信,谨防假冒诈骗；详情请关注特步官方商城“谨防诈骗公告声明”。</p>
            <div class="odr-pay">
                <table width="70%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tbody>
                    <tr>
                        <td height="336" width="40%" align="center"><img style="width:287px;border:1px solid #ccc;" src="http://paysdk.weixin.qq.com/example/qrcode.php?data=<?php echo urlencode($url2);?>"></td>
                        <td rowspan="2" valign="bottom"><img height="370" src="/static/index/images/phone_weixin.png"></td>
                    </tr>
                    <tr>
                        <td height="50" align="center" bgcolor="#FF7674" style="font-size:14px;color:#ffffff"><img
                                src="/static/index/images/icon-red.png" width="44" height="44" align="absmiddle">请使用微信扫一扫,扫描二维码支付
                        </td>
                    </tr>
                    </tbody>
                </table>
                <br>
                <span id="login_btn" style="display:none;"> <table width="70%" border="0" cellspacing="0"
                                                                   cellpadding="0" align="center"><tbody><tr><td
                        height="336" width="40%" align="center"><img style="border:1px solid #ccc;"
                                                                     src="/static/index/images/180113001399.png"></td><td
                        rowspan="2" valign="bottom"><img height="370" src="/static/index/images/phone_weixin.png"></td></tr><tr><td
                        height="50" align="center" bgcolor="#FF7674" style="font-size:14px;color:#ffffff"><img
                        src="/static/index/images/icon-red.png" width="44" height="44" align="absmiddle">请使用微信扫一扫,扫描二维码支付</td></tr></tbody></table><br> </span>
            </div>
            <div class="odr-alert">
                <h4>注意事项：</h4>
                <p>“订单提交成功”仅代表特步官方商城收到了您的订单，只有您的订单付款后，才代表正式生效；
                    选择在线支付的客户，请您认真检查外包装。如有明显损坏迹象，您可以拒收该货品，并及时通知我们；</p>
            </div>
        </div>
    </div>
</div>

<!--wrapper end-->
<!-- 订单布码 begin -->
<!-- 订单布码 end -->
<script type="text/javascript">
    var client = "Ctebu";//百分点帐号
    var bfd_user_id = "xieya2010@163.com";     // 当前用户的user_id，string类型，即其注册名的编号。如果支持匿名用户购买，将orderid传入给user_id.
    var bfd_order_id = "180113001399";
    var order_sumprice = '399.00'; //订单中的商品总价，double类型；
    var order_payName = '微信支付'; //支付方式，string类型（该参数可选）
    var order_shippingName = '普通快递 '; //快递方式，string类型（该参数可选）
    var bfd_productArr = new Array(); //比如：productArr=[['1822',99,4],['1852',99,4],['2333',99,4]],['1822',99,4]依次为每个商品的item_id,price,购买数量。
    bfd_productArr.push(['983419116736', 399.000, 1]);
</script>
<!-- <script type="text/javascript" src="http://www.baifendian.com/service/tebu/tb_order.js" charset="utf-8"></script> -->
<script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-42254357-1']);
    _gaq.push(['_trackPageview']);
    _gaq.push(['_addTrans',
        '180113001399',// order ID订单ID号
        ,
        '399.00' // total 订单金额
    ]);
    _gaq.push(['_addItem',
        '180113001399', // order ID 订单ID号
        '983419116736', // SKU/code 商品ID号
        ,
        ,
        '399.000', // unit price 商品金额
        '1' // quantity - 商品数量
    ]);

    _gaq.push(['_trackTrans']);
    (function () {
        var ga = document.createElement('script');
        ga.type = 'text/javascript';
        ga.async = true;
        ga.src = ('https:' == document.location.protocol ? ' https://ssl' : ' http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(ga, s);
    })();
</script>
<script type="text/javascript">
    setInterval(function(){
        var number = "{$number}";
        $.post("{:url('index/pay/checkStatus')}",{number:number},function(res){
            if(res.valid==1){
                location.href = "{:url('index/success/index')}";
            }
        },'json');
    },1000);
</script>

<!--广点通代码-->
<script type="text/javascript">
    var gdt_tracker = gdt_tracker || [];
    gdt_tracker.push(["set_source_id", "1722767"]);
    (function () {
        var doc = document, h = doc.getElementsByTagName('head')[0], s = doc.createElement('script');
        s.async = true;
        s.src = 'http://qzs.qq.com/qzone/biz/res/gt.js';
        h && h.insertBefore(s, h.firstChild)
    })();
</script>
<script type="text/javascript">
    /**  下订单  begin **/
    gdt_tracker.push(["add_action", "ORDER",
        "180113001399",            //订单ID
        "399.00"                  //订单总金额
    ]);
    gdt_tracker.push(["send"]);
</script>
<!-------国双代码 ------->
<!------国双结束------->
{/block}